<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>购物车页面</title>
    <style>
      img {
        width: 30px;
      }
    </style>
  </head>
  <body>
    <input type="checkbox" id="checkAll" />全选
    <ul id="cart1"></ul>
    <div id="totalPrice">0</div>
    <script src="./../js/cart.js"></script>
    <script>
      let cart = new Cart();
      cart.show("cart1");
    </script>
  </body>
</html>